<template>
  <div class="technical">
    <el-breadcrumb class="wrap" style="margin: 30px auto" separator="/">
      <el-breadcrumb-item :to="{ path: '/' }">首页</el-breadcrumb-item>
      <el-breadcrumb-item>职业培训</el-breadcrumb-item>
    </el-breadcrumb>
    <div class="production wrap">
      <div class="navbar-wrap">
        <el-menu
          :default-active="$route.path"
          class="navbar-wrap"
          mode="vertical"
          @select="handleSelect"
          background-color="#fff"
          text-color="#333333"
          active-text-color="#2590F4"
        >
          <el-menu-item index="/technical/training1"
            >建筑安管人员（ABC证）新考及继教</el-menu-item
          >
          <el-menu-item index="/technical/training2"
            >建筑特种工新考及继教</el-menu-item
          >
          <el-menu-item index="/technical/training3"
            >建筑七大员新考及继教</el-menu-item
          >
          <el-menu-item index="/technical/training4"
            >建筑技能工新考及继教</el-menu-item
          >
          <el-menu-item index="/technical/training5"
            >水利安管人员（ABC证）新考及继教</el-menu-item
          >
          <el-menu-item index="/technical/training6"
            >水利五大员新考及继教</el-menu-item
          >
          <el-menu-item index="/technical/training7"
            >公路安管人员（ABC证）新考及继教</el-menu-item
          >
          <el-menu-item index="/technical/training8"
            >公路施工员、公路养护工新考</el-menu-item
          >
          <el-menu-item index="/technical/training9"
            >安监特种工新考及继教</el-menu-item
          >
          <el-menu-item index="/technical/training10"
            >其他建设行业证书新考及继教</el-menu-item
          >
        </el-menu>
      </div>
      <router-view class="content-wrap" />
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      activeIndex: "/production",
    };
  },
  methods: {
    handleSelect(key, keyPath) {
      this.$router.push({
        path: key,
        params: { data: "query" },
      });
    },
  },
};
</script>
<style lang="scss">
.navbar-wrap {
  margin-bottom: 80px;
}
.content-wrap {
  background: #fff;
}
</style>
